#ifndef	WAITER_HPP
# define	WAITER_HPP

# include	<list>

# include	"Thread.hpp"
# include	"KitchenCom.hpp"
# include	"ScopedLock.hpp"

typedef		std::list<KitchenCom>	Channels;

class Waiter : public Thread
{
public:
  Waiter() : Thread() {}
  virtual ~Waiter() {}

  virtual void	*run();

private:
  static Mutex	mutex;
};

#endif